from celery import Celery

# 任务队列的链接地址
broker_url = 'redis://localhost/1'

app = Celery('celery_crontab', broker=broker_url)